package com.gcxy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-02-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dustbin")
@ApiModel(value="Dustbin对象", description="")
public class Dustbin implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "位置id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "小区")
    @TableField("estate")
    private String estate;

    @ApiModelProperty(value = "栋楼")
    @TableField("building")
    private String building;

    @ApiModelProperty(value = "单元")
    @TableField("unit")
    private String unit;

    @ApiModelProperty(value = "垃圾桶损坏状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "垃圾桶满溢状态")
    @TableField("flood")
    private Integer flood;


}
